from django.db import models

from login.models import NormalUser


# Create your models here.
class SearchHistory(models.Model):
    user_id = models.ForeignKey(NormalUser,on_delete=models.CASCADE)
    content = models.TextField(null=False)
    

    class Meta:
        verbose_name = '搜索历史'
        verbose_name_plural = '搜索历史'
